package org.niux.aims.common.database;

import java.sql.Types;

import org.hibernate.Hibernate;
import org.hibernate.dialect.MySQL5Dialect;

public class MyDialect extends MySQL5Dialect{
	public MyDialect() {  
        super();  
        this.registerHibernateType(Types.LONGVARCHAR, Hibernate.STRING.getName());
//        this.registerHibernateType(Types.DECIMAL, Hibernate.BIG_DECIMAL.getName());
//        this.registerHibernateType(-1, Hibernate.STRING.getName());
    }  
}
